using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Model
{
    public  partial class Permit_User
    {
      
    }

    [SugarTable("Permit_User")]
    public class UserList
    {
        /// <summary>
        ///id
        /// <summary>
        public long id { get; set; }
        /// <summary>
        ///姓名
        /// <summary>
        public String UserName { get; set; }

        /// <summary>
        ///状态，0 正常 1 禁用
        /// <summary>
        private string status;
        public string Status
        {
            get { return status; }

            set
            {
                if ("0" == value)
                {
                    status = "正常";
                } else if ("1" == value)
                {
                    status = "禁用";
                }
            }
        }
        /// <summary>
        ///用户编号
        /// <summary>
        public String UserCode { get; set; }
        /// <summary>
        ///创建时间
        /// <summary>
        public DateTime CreateDate { get; set; }
      
    }
}

